﻿namespace OT.HikiSecureCenterApis.Service.OneCard.Res
{
    public class ResFloor
    {
        /// <summary>
        /// 资源类型，详见附录A.2 资源类型
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#ae7cd6c8
        /// </summary>
        public string resourceType { get; set; }
        /// <summary>
        /// 资源唯一编码
        /// </summary>
        public string indexCode { get; set; }
        /// <summary>
        /// 资源名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 通道号
        /// </summary>
        public string channelNo { get; set; }
        /// <summary>
        /// 父级资源编号
        /// </summary>
        public string parentIndexCode { get; set; }
        /// <summary>
        /// 实际楼层
        /// </summary>
        public int floorNo { get; set; }
        /// <summary>
        /// 控制器ID
        /// </summary>
        public string controlOneId { get; set; }
        /// <summary>
        /// 所属区域
        /// </summary>
        public string regionIndexCode { get; set; }
        /// <summary>
        /// 所属区域路径,以@符号分割，包含本节点
        /// </summary>
        public string regionPath { get; set; }
        /// <summary>
        /// 显示顺序
        /// </summary>
        public int sort { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string createTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public string updateTime { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 区域名称
        /// </summary>
        public string regionName { get; set; }
        /// <summary>
        /// 所属区域路径名，以"/"分隔
        /// </summary>
        public string regionPathName { get; set; }
        /// <summary>
        /// 资源唯一标志
        /// </summary>
        public string resourceIndexCode { get; set; }
        /// <summary>
        /// 状态小于0则资源已删除
        /// </summary>
        public int status { get; set; }
    }

}
